# == Schema Information
#
# Table name: radreply
#
#  id       :integer          not null, primary key
#  username :string(64)       default(""), not null
#  attr     :string(64)       default(""), not null
#  op       :string(2)        default("="), not null
#  value    :string(253)      default(""), not null
#  user_id  :integer
#

class Radreply < ActiveRecord::Base
	self.table_name = "radreply"
  belongs_to :user 
  validates_presence_of :username, :user_id, :attr, :op, :value
  validates_uniqueness_of :attr
end
